﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SnmpForm.ApIpPool
{
    public partial class ucApIpPoolSet : UserControl
    {
        public ucApIpPoolSet()
        {
            InitializeComponent();

            InitData();
        }

        public void InitData()
        {
            numericUpDownInterval.Value =
                Properties.Settings.Default.ApIpPoolInterval;
        }
        public bool Save()
        {
            Properties.Settings.Default.ApIpPoolInterval =
                (uint)numericUpDownInterval.Value;
            return true;
        }
    }
}
